package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.LianshouMapper;
import com.ruoyi.system.domain.Lianshou;
import com.ruoyi.system.service.ILianshouService;

/**
 * 没啥用Service业务层处理
 * 
 * @author 吴思恒
 * @date 2024-12-11
 */
@Service
public class LianshouServiceImpl implements ILianshouService 
{
    @Autowired
    private LianshouMapper lianshouMapper;

    /**
     * 查询没啥用
     * 
     * @param id 没啥用主键
     * @return 没啥用
     */
    @Override
    public Lianshou selectLianshouById(Long id)
    {
        return lianshouMapper.selectLianshouById(id);
    }

    /**
     * 查询没啥用列表
     * 
     * @param lianshou 没啥用
     * @return 没啥用
     */
    @Override
    public List<Lianshou> selectLianshouList(Lianshou lianshou)
    {
        return lianshouMapper.selectLianshouList(lianshou);
    }

    /**
     * 新增没啥用
     * 
     * @param lianshou 没啥用
     * @return 结果
     */
    @Override
    public int insertLianshou(Lianshou lianshou)
    {
        return lianshouMapper.insertLianshou(lianshou);
    }

    /**
     * 修改没啥用
     * 
     * @param lianshou 没啥用
     * @return 结果
     */
    @Override
    public int updateLianshou(Lianshou lianshou)
    {
        return lianshouMapper.updateLianshou(lianshou);
    }

    /**
     * 批量删除没啥用
     * 
     * @param ids 需要删除的没啥用主键
     * @return 结果
     */
    @Override
    public int deleteLianshouByIds(Long[] ids)
    {
        return lianshouMapper.deleteLianshouByIds(ids);
    }

    /**
     * 删除没啥用信息
     * 
     * @param id 没啥用主键
     * @return 结果
     */
    @Override
    public int deleteLianshouById(Long id)
    {
        return lianshouMapper.deleteLianshouById(id);
    }
}
